
#ifndef SERVICE_CTRL_INTF_H
#define SERVICE_CTRL_INTF_H

#include <iostream>
#include <string>
#include <stdint.h>

class CCmdObj;
class IServiceObject;

class IServiceControl
{
public:
    virtual ~IServiceControl() {};
    
public:
    virtual int putSvcObj(
        IServiceObject* pSvcObj, 
        uint32_t dwResult = 0) = 0;  

#ifdef __PTH_UCTX_SWITCH__
	virtual int schedule() = 0;
	virtual CCmdObj& getRespObj() = 0;
	virtual void NeedResp(bool bNeedResp) = 0;
#endif	


};

#endif /* SERVICE_CTRL_INTF_H */

